<link rel="stylesheet" href="/static/home/assets/css/demo.css">
<link rel="stylesheet" href="/static/home/assets/css/seastyle.css">
<!--悬浮搜索框-->
<div class="search">
    <div class="search-list">
        <div class="am-g am-g-fixed">
            <div class="am-u-sm-12 am-u-md-12">
                <div class="theme-popover">
                    <ol class="am-breadcrumb am-margin-buttom-0">
                        <li><a href="/" class="am-icon-home">首页</a></li>
                        <li class="am-active">搜索结果</li>
                    </ol>
                    <ul class="am-padding-left-0">
                        <p class="font-normal">
                            <span class="fl am-text-warning am-text-lg">{:input('param.keyword')}</span>
                            <span class="total fl">搜索到<strong class="num">{$count}</strong>件相关资源</span>
                        </p>
                        <div class="clear"></div>
                    </ul>
                    <div class="clear"></div>
                </div>
                <div class="search-content" style="width:100%;">
                    <div class="sort">
                        <li {if condition="$sort eq 'add_time' or $sort eq ''"}class="first"{/if}><a {if condition="input('param.sort') == 'add_time-asc'"}href='{:url("/search/add_time-desc",["keyword"=>input("keyword")])}' class="am-icon-arrow-up"{else/}href='{:url("/search/add_time-asc",["keyword"=>input("keyword")])}' class="am-icon-arrow-down"{/if}title="时间"> 时间排序</a></li>
                        <li {if condition="$sort eq 'click'"}class="first"{/if}><a {if condition="input('param.sort') == 'click-asc'"}href='{:url("/search/click-desc",["keyword"=>input("keyword")])}' class="am-icon-arrow-up"{else/}href='{:url("/search/click-asc",["keyword"=>input("keyword")])}' class="am-icon-arrow-down"{/if}title="浏览量"> 浏览排序</a></li>
                    </div>
                    <div class="clear"></div>

                    <ul class="am-avg-sm-1 am-avg-md-2 am-avg-lg-6 boxes">
                        {if condition="$data"}
                        {volist name="data" id="v"}
                        <li class="p8">
                            <a href="{:url('/'.$v.id)}" class='zhuzong'>
                                <div class="am-thumbnail">
                                    <img class='height-350' src="{$v.cover_image}" alt="{$v.title}"/>
                                    <div class="am-thumbnail-caption am-cf">
                                        <h3 class='blog-text-center title'>{$v.title}</h3>
                                        <p class='height-115'>{$v['introduction'] ? cutString($v['introduction'],50) : '本站提供'.$v.title.'下载 最新最好看的付费电影,喜欢本站记得把本站推荐给好友...'}</p>
                                        <span class="am-text-center w100b am-icon-calendar"> {$v.add_time|date='Y-m-d',###}</span>
                                        <span class="am-text-center w100b am-icon-eye"> {$v.click}人</span>
                                    </div>
                                </div>
                            </a>
                        </li>
                        {/volist}
                        {else/}
                        <li class="miss ptop_10">好遗憾  没有数据呢~</li>
                        {/if}
                    </ul>
                    <!--分页 -->
                    {$page}
                </div>
                
                <div class="clear"></div>
                
            </div>
        </div>
    </div>
</div>

